package cn.yll.order.entity;

import cn.yll.db.entity.BaseEntity;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

/**
 * <p>
 * 用户订单表映射实体
 * </p>
 *
 * @author yll
 * @since 2022-08-03
 */
@Data
@Accessors(chain = true)
@TableName("orders")
@ApiModel(value = "OrdersEntity对象", description = "用户订单表映射实体")
public class OrdersEntity extends BaseEntity {

    @ApiModelProperty("用户ID")
    private Long userId;

    @ApiModelProperty("订单总金额")
    private Integer totalCost;

    @ApiModelProperty("0新建 10已支付 20已签收 30已取消")
    private Integer bizStatus;


}
